<template>
    <web-view v-if="webViewSrc" style="width: 100%;height: 500px" :src="webViewSrc"></web-view>
</template>

<script>
import { H5_URL } from "@/global";

export default {
    name: "edit",
    data() {
        return {
            webViewSrc: ''
        }
    },
    onLoad(options) {
        const { id } = options
        this.webViewSrc =  `${H5_URL}edit-desgin?token=${wx.getStorageSync('token')}&id=${id}`
    },
}
</script>

<style lang="less">
</style>